""#line:3
import paddle #line:4
import numpy as np #line:5
def test_abs ():#line:8
    ""#line:11
    O0000OOOO000000OO =np .random .random (size =[3 ,3 ,3 ])#line:12
    O0O0OOOOO00OO0OO0 =paddle .to_tensor (O0000OOOO000000OO )#line:13
    OO0000000O0O000OO =paddle .abs (O0O0OOOOO00OO0OO0 ).numpy ()#line:14
    OO0OO0OOOO0O000OO =np .abs (O0000OOOO000000OO )#line:15
    np .testing .assert_allclose (OO0OO0OOOO0O000OO ,OO0000000O0O000OO )#line:16
def test_sin ():#line:19
    ""#line:22
    OO0O0000000O000O0 =np .random .random (size =[3 ,3 ,3 ])#line:23
    OOO0O0000OOOO00OO =paddle .to_tensor (OO0O0000000O000O0 )#line:24
    O0000O0OO0O0O00O0 =paddle .sin (OOO0O0000OOOO00OO ).numpy ()#line:25
    O0O0OOO00O0OOOOOO =np .sin (OO0O0000000O000O0 )#line:26
    np .testing .assert_allclose (O0O0OOO00O0OOOOOO ,O0000O0OO0O0O00O0 )#line:27
def test_cos ():#line:30
    ""#line:33
    O000OOO0OO000OOOO =np .random .random (size =[3 ,3 ,3 ])#line:34
    OO00O0O00O00O00O0 =paddle .to_tensor (O000OOO0OO000OOOO )#line:35
    OO0000OOO000O0O0O =paddle .cos (OO00O0O00O00O00O0 ).numpy ()#line:36
    O00O00OO0OO0OOO0O =np .cos (O000OOO0OO000OOOO )#line:37
    np .testing .assert_allclose (O00O00OO0OO0OOO0O ,OO0000OOO000O0O0O )#line:38
def test_acos ():#line:41
    ""#line:44
    O0O0OOO0OOOOOO000 =np .random .random (size =[3 ,3 ,3 ])#line:45
    OOO000OOOOO0OO0O0 =paddle .to_tensor (O0O0OOO0OOOOOO000 )#line:46
    O0O00OO00O000O0OO =paddle .acos (OOO000OOOOO0OO0O0 ).numpy ()#line:47
    OOOO0OOO000O0OO00 =np .arccos (O0O0OOO0OOOOOO000 )#line:48
    np .testing .assert_allclose (OOOO0OOO000O0OO00 ,O0O00OO00O000O0OO )#line:49
def test_atan ():#line:52
    ""#line:55
    OOO00OO0OO00OO000 =np .random .random (size =[3 ,3 ,3 ])#line:56
    O0O00OO0O0OO000O0 =paddle .to_tensor (OOO00OO0OO00OO000 )#line:57
    O00000OO0OOOO0OOO =paddle .atan (O0O00OO0O0OO000O0 ).numpy ()#line:58
    O00O0OOO0OO000O00 =np .arctan (OOO00OO0OO00OO000 )#line:59
    np .testing .assert_allclose (O00O0OOO0OO000O00 ,O00000OO0OOOO0OOO )#line:60
def test_cosh ():#line:63
    ""#line:66
    OO0OOOO0O0O00OOO0 =np .random .random (size =[3 ,3 ,3 ])#line:67
    O00O0OOO0OO00OOO0 =paddle .to_tensor (OO0OOOO0O0O00OOO0 )#line:68
    O0000OO00O0O00OOO =paddle .cosh (O00O0OOO0OO00OOO0 ).numpy ()#line:69
    O00OOOO000000O0O0 =np .cosh (OO0OOOO0O0O00OOO0 )#line:70
    np .testing .assert_allclose (O00OOOO000000O0O0 ,O0000OO00O0O00OOO )#line:71
def test_exp ():#line:74
    ""#line:77
    OO00OO00OOO0OOOO0 =np .random .random (size =[3 ,3 ,3 ])#line:78
    OO00OOO0OOOOOO0OO =paddle .to_tensor (OO00OO00OOO0OOOO0 )#line:79
    OO0O0OO0000O00O00 =paddle .exp (OO00OOO0OOOOOO0OO ).numpy ()#line:80
    OO0O0O0O0OO0O0OOO =np .exp (OO00OO00OOO0OOOO0 )#line:81
    np .testing .assert_allclose (OO0O0O0O0OO0O0OOO ,OO0O0OO0000O00O00 )#line:82
def test_floor ():#line:85
    ""#line:88
    O0OO0OOO00O0O0O00 =np .random .random (size =[3 ,3 ,3 ])#line:89
    OOO00O00O00O00000 =paddle .to_tensor (O0OO0OOO00O0O0O00 )#line:90
    OO00O00000O00000O =paddle .floor (OOO00O00O00O00000 ).numpy ()#line:91
    O000O0OO0O0O00000 =np .floor (O0OO0OOO00O0O0O00 )#line:92
    np .testing .assert_allclose (O000O0OO0O0O00000 ,OO00O00000O00000O )#line:93
def test_mean ():#line:96
    ""#line:99
    O000000O00O0O0O00 =np .random .random (size =[3 ,3 ,3 ])#line:100
    OO0OOO000O0O00OO0 =paddle .to_tensor (O000000O00O0O0O00 )#line:101
    OOO0000O000O0O00O =paddle .mean (OO0OOO000O0O00OO0 ).numpy ()#line:102
    O000O0OOO00O00OO0 =np .mean (O000000O00O0O0O00 )#line:103
    np .testing .assert_allclose (O000O0OOO00O00OO0 ,OOO0000O000O0O00O )#line:104
def test_log ():#line:107
    ""#line:110
    OO000O0OOO000O000 =np .random .random (size =[3 ,3 ,3 ])#line:111
    O000OOO000O0O0000 =paddle .to_tensor (OO000O0OOO000O000 )#line:112
    O0OO00O00O0O0000O =paddle .log (O000OOO000O0O0000 ).numpy ()#line:113
    O0OO0O0OOO0O00OOO =np .log (OO000O0OOO000O000 )#line:114
    np .testing .assert_allclose (O0OO0O0OOO0O00OOO ,O0OO00O00O0O0000O )
